<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE>
<html>
<head>
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/layout.css" />
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/module_public.css" />
  <script type="text/javascript" src="__PUBLIC__/Js/jquery.js"></script>
  <script type="text/javascript" src="__PUBLIC__/Js/meeting.js"></script>
</head>
<body>
  <div class="module_public">
     <div class="module_public_content">
        <h1> >> 会议安排 <font color=green><a href="__ACTION__">【刷新】</a></font></h1>
     </div>
     <div class="module_public_main"> 
        <table>
        <form action="__URL__/do_meetingArrange" method="post">
          <tr>
            <td width="12%" align="right">会议主办人</td>
            <td><input type="text" name="m_name" class="_input"/></td>
          </tr>
          <tr>
            <td width="12%" align="right">预定会议室号码:</td>
            <td>
             <select class="_input" name="yuyue_id">
               <option>--会议室的预约号码--</option>
               <?php if(is_array($y_info)): $i = 0; $__LIST__ = $y_info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><option value="<?php echo ($v["y_id"]); ?>"><?php echo ($v["y_id"]); ?>
               <?php $time = time(); if($v['y_yuyue_endtime'] > $time){ echo "&nbsp;-><font color=green>预约时间(未过期)</font>"; }else{ echo "&nbsp;-><font color=red>预约时间(已过期)</font>"; } ?>
               </option><?php endforeach; endif; else: echo "" ;endif; ?>
             </select>
            </td>
          </tr>
          <tr>
            <td width="12%" align="right">会议主题</td>
            <td><input type="text" name="m_title" class="_input"/></td>
          </tr>
          <tr>
            <td width="12%" align="right">会议开始日期</td>
            <td><input type="text" name="m_start_day" class="_input"/>&nbsp;&nbsp;<font color=red>(备注:请根据格式:2012-12-02)</font></td>
          </tr>
          <tr>
            <td width="12%" align="right">会议开始时间</td>
            <td>
              <select name="start_shi">
              <?php $__FOR_START_15088__=0;$__FOR_END_15088__=24;for($i=$__FOR_START_15088__;$i < $__FOR_END_15088__;$i+=1){ if($i < 10): ?><option>0<?php echo ($i); ?></option>
              <?php else: ?>
              <option><?php echo ($i); ?></option><?php endif; } ?>
           </select>点&nbsp;
           <select name="start_fen">
              <?php $__FOR_START_27762__=1;$__FOR_END_27762__=61;for($i=$__FOR_START_27762__;$i < $__FOR_END_27762__;$i+=1){ if($i < 10): ?><option>0<?php echo ($i); ?></option>
                <?php else: ?>
                <option><?php echo ($i); ?></option><?php endif; } ?>
           </select>分
            </td>
          </tr>         
          <tr>
            <td colspan="2" bgcolor="#EBEBEB" align="center">会议参加人员通知</td>
          </tr>
          <tr>
           <td width="12%" align="right">请选择通知类型:</td>
           <td>
             <input type="radio" name="notice_type" value="1" />部门通知&nbsp;&nbsp;
             <input type="radio" name="notice_type" value="2" />个人通知
           </td>
          </tr>
         
          <tr id="department_status" style="display:none;">
           <td width="12%" align="right">通知的部门:</td>
           <td>
             <div class="centent">
                  <select multiple="multiple" id="select1" style="width:100px;height:160px;">
                  <?php if(is_array($d_info)): $i = 0; $__LIST__ = $d_info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><option value="<?php echo ($v["d_id"]); ?>"><?php echo ($v["d_name"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
                  </select>
                  <div>
					<span id="add" class="batch_span">选中添加到右边&gt;&gt;</span>
					<span id="add_all" class="batch_span">全部添加到右边&gt;&gt;</span>
				  </div>
               </div>
               
               <div class="centent">
				  <select multiple="multiple" id="select2" style="width: 100px;height:160px;" name="selected_department[]">
			      	
		          </select>
			   <div>
				  <span id="remove" class="batch_span">&lt;&lt;选中删除到左边</span>
				  <span id="remove_all" class="batch_span">&lt;&lt;全部删除到左边</span>
			   </div>
			 </div>
           </td>
          </tr>
          
          <tr id="employees_status" style="display:none;">
           <td width="12%" align="right">通知的员工:</td>
           <td>
             <div class="centent">
                  <select multiple="multiple" id="select11" style="width:100px;height:160px;">
					<?php if(is_array($e_info)): $i = 0; $__LIST__ = $e_info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><option value="<?php echo ($v["u_id"]); ?>"><?php echo ($v["u_name"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
                  </select>
                  <div>
					<span id="add2" class="batch_span">选中添加到右边&gt;&gt;</span>
					<span id="add_all2" class="batch_span">全部添加到右边&gt;&gt;</span>
				  </div>
               </div>
               
               <div class="centent">
				  <select multiple="multiple" id="select22" style="width: 100px;height:160px;" name="selected_name[]">
			      	
		          </select>
			   <div>
				  <span id="remove2" class="batch_span">&lt;&lt;选中删除到左边</span>
				  <span id="remove_all2" class="batch_span">&lt;&lt;全部删除到左边</span>
			   </div>
			 </div>
           </td>
          </tr>
          
           <tr>
           <td>&nbsp;</td>
           <td><input type="submit" value="提交会议" class="_button"/></td>
          </tr>
          </form> 
        </table>
     </div>
  </div>
</body>
</html>